package com.mooc.lib_network;

/**
 * @ClassName: GetRequeest$
 * @Description: java类作用描述
 * @Author: 魏靳元
 * @CreateDate: 2022/8/15 16:58
 * @UpdateRemark: 更新内容
 * @Version: 1.0
 */
public class GetRequest<T> extends Request<T,GetRequest>{
    public GetRequest(String url) {
        super(url);
    }

    @Override
    protected okhttp3.Request generateRequest(okhttp3.Request.Builder builder) {

        return builder.get().url(Urlsplicing.createUrlFromParams(mUrl, params))
                .build();
    }

}
